package ai.people.platform.system.service;

import ai.people.netmon.framework.domain.system.entity.SystemDictData;

import java.util.List;
import java.util.Map;

/**
 * sys 字典服务
 *
 * @author yuanqinglong
 * @date 2022/3/15 13:23
 */
public interface SysDictService {


    /**
     * 按字典code获取列表
     *
     * @param dictCode 字典code
     * @return {@link List}<{@link SystemDictData}>
     */
    List<SystemDictData> listDictByCode(String dictCode);

    Map<String, List<SystemDictData>> listDictByCodeMulti(List<String> dictTypes);

}